<?php

namespace EM\NewsBundle\Entity;
use Doctrine\ORM\Mapping as ORM;

/**
 * Geography
 */
class Geography
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var integer
     */
    private $geoParent;

    /**
     * @var string
     */
    private $name;

    /**
     * @var integer
     */
    private $level;

    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set geoParent
     *
     * @param integer $geoParent
     * @return Geography
     */
    public function setGeoParent($geoParent)
    {
        $this->geoParent = $geoParent;
    
        return $this;
    }

    /**
     * Get geoParent
     *
     * @return integer 
     */
    public function getGeoParent()
    {
        return $this->geoParent;
    }

    /**
     * Set name
     *
     * @param string $name
     * @return Geography
     */
    public function setName($name)
    {
        $this->name = $name;
    
        return $this;
    }

    /**
     * Get name
     *
     * @return string 
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * Set level
     *
     * @param integer $level
     * @return Geography
     */
    public function setLevel($level)
    {
        $this->level = $level;
    
        return $this;
    }

    /**
     * Get level
     *
     * @return integer 
     */
    public function getLevel()
    {
        return $this->level;
    }

}